using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace BL.BPClientRemotingInterface
{
    public interface IBudgetPay
    {
        bool IsLegal(string pay_price, string budget_type_name);
        bool IsPayOverdraft(string pay_price, string budget_range_id,
            string department_id, string budget_type_id);
        bool RequestPayBorrowPayBack(string borrow_id, string pay_price, string user_id,
            string pay_remark, 
             string[,] pay_item_info);
        bool ExecutePayBorrowPayBack(string pay_log_id);
        bool ExecutePayBorrowPayBack(string borrow_id, string pay_price);
        bool ExecutCashBorrowPayBack(string borrow_id, string cash);
        bool RequestBudgetPay(string user_id, string pay_price,
            string budget_id, string pay_remark, string[,] pay_item_info);
        bool ExecuteBudgetPay(string pay_log_id);
        bool ExecuteBudgetPay(string budget_id, string pay_price);
        bool PayLogCheckAg(string pay_log_id);
        bool SetPayLogChecked(string pay_log_id);
        DataSet GetPayFullLogChecked();
        DataSet GetBorrowPayFullLogChecked();
        DataSet GetPayFullLogPayed();
        DataSet GetBorrowPayFullLogPayed();
        DataSet GetPayPriceLog();
        DataSet GetBudgetItemFullInfo(string budget_type_id, string department_id, string budget_range_id );
        DataSet GetPayItemFullInfo(string pay_log_id);
        DataSet GetPayLogFullInfo(string pay_log_id);
        
    }
}
